﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<PortalModel>" %>

<%@ Import Namespace="NewsPortal.Models" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Новостной портал</title>
    <link rel="stylesheet" href="/css/main.css" type="text/css"/>
</head>
<body>
    <table class="main" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr valign="top">
            <td class="nav" width="12%">
              <% Html.RenderPartial("CategoryControl",Model); %>                  
            </td>
            <td class="fullNews" width="53%">
                                         
                        <h3><% =Model.MainNewses[0].Title%></h3>
                        <img class="newsImage" alt=""<% =Model.MainNewses[0].Title%>" src="/images/image?id=<% =Model.MainNewses[0].PictureId%>&small=false"/><br>
                        <div class="dt">
                            <% =Model.MainNewses[0].Moment.ToString("G")%>
                        </div>
                        <% =Model.MainNewses[0].Body%><br>                                        
            </td>
		</tr> 
	</table>
</body>
</html>
